<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	 <base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>权限添加</title>
	<link rel="stylesheet" rev="stylesheet" href="css/style.css" type="text/css" media="all" />
	<style type="text/css">
		<!--
		.atten {font-size:12px;font-weight:normal;color:#F00;}
		-->
	</style>
	
</head>

<body class="ContentBody">
  
	<div class="MainDiv">
	<table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
	  <tr>
	      <th class="tablestyle_title" >新建权限信息</th>
	  </tr>
 	  <tr>
	    <td class="CPanel">
			<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
				<TR>
					<TD width="100%">
						<fieldset style="height:100%;">
						<legend>新建权限信息</legend>
						    <form action="admin/rolePermissionAdd_2" method="post">
							  <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
								   <input type="hidden" name="rp.roleId" value="${requestScope.roleId }">
								   <tr>
									    <td align="right" width="11%">权限名称:</td>
									    <td>
									    	<c:forEach var="pp" items="${requestScope.permissions}" >
									    		<input type="checkbox" name="pids" id="pids" value="${pp.pid }"/>
									    		${pp.pname }
									    	</c:forEach>
									    	
									    </td>
								   </tr>
								 
							     
							       <tr>
							       		<td>&nbsp;</td>
										<td align="left">
											<input type="submit" value="提交" /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
											<input type="reset" value="重置" />
										</td>
									</tr>
							  </table>
						  </form>  
					  <br/>
						</fieldset>			
					</TD>
				</TR>
				<tr>
					<td>&nbsp;</td>
				</tr>
				
				
			</TABLE>
		 </td>
	  </tr>
		
		</TABLE>
	 </td>
  </tr>
  </table>
</div>

</body>
</html>
